package com.slmxz.tms.biz.enums;

import com.slmxz.tms.common.base.IBaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

/**
 * 运输方式枚举
 * @author sunyao
 * @Date 2024/10/29
 */
@Getter
@Schema(enumAsRef = true)
public enum TransportTypeEnum implements IBaseEnum<Integer> {
    NONSTOP(1, "直达"),
    TRANSFER (2, "中转"),
    ;

    private final Integer value;

    private final String label;

    TransportTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
